serialize

open fun serialize(persistedState: PersistedState): String

Serialize a PersistedState persistenceSerializer

Return

an json string

Parameters

persistedState

the PersistedState persistenceSerializer to serialize

Throws

possible if there is a problem during serialization